<?php
/**
 * Created by PhpStorm.
 * User: evan.wan
 * Date: 2015/8/7
 * Time: 14:49
 */

function check_verfiy($code, $id=''){
    $verfiy = new \Think\Verify();
    return $verfiy->check($code,$id);
}

function get_user_id(){
    return rand();
}